	<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
	<%@ page import="org.springframework.beans.factory.BeanFactory,
	 				 org.springframework.beans.factory.xml.XmlBeanFactory,
	 				 org.springframework.core.io.ClassPathResource,
 				 	 com.rajib.spring.samplespring.model.Information"%>



<head>
<title>Simple Spring example</title>
</head>
<body bgcolor="white">
 <h2>(Spring example)</h2>
 
 
	<%
	BeanFactory beanFactory = new XmlBeanFactory( new ClassPathResource("applicationContext.xml"));
	Information info = (Information)beanFactory.getBean("information");
	%>
  
 Hello, this is sample spring project! <br />
 Project Name is	: <b> <%=info.getProjectName() %> </b>
 Project Version is : <b> <%=info.getVersion() %> </b>
 

</body>

